function showImage() {
	//var c = document.getElementById("myCanvas");
	//var context = c.getContext("2d");
	var image = document.getElementById("tulip");

	//	var div = document.getElementById("myDiv");
	//	var scale = div.width / image.width
	//
	//	context.drawImage(image, 0, 0, scale * image.width, scale * image.height)
	//	content.drawImageFromRect(0, 0, scale * image.width, scale * image.height)
	//ctx.drawImage(img, 0, 0, 400, 400);
console.log()
	var canvas = document.getElementById("myCanvas");


	canvas.height = 400;
	canvas.width = 400;
	$(".piclistbox").append("<div class='leftbox'></div>");
	$(".leftbox").html(canvas);

	var ctx = canvas.getContext('2d');

//	var img = new Image();
//	img.src = image.src
//	img.onload = function() {
		ctx.drawImage(image, 0, 0);
//	}

}


